package cn.iocoder.yudao.module.pay.controller.admin.packageorder.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 套餐订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PackageOrderPageReqVO extends PageParam {

    @Schema(description = "用户编号", example = "31217")
    private Long userId;

    @Schema(description = "套餐编号", example = "20577")
    private Long packageId;

    @Schema(description = "套餐名称", example = "芋艿")
    private String packageName;

    @Schema(description = "价格，单位：分", example = "4281")
    private Integer price;

    @Schema(description = "是否已支付：[0:未支付 1:已经支付过]", example = "2")
    private Boolean payStatus;

    @Schema(description = "支付订单编号", example = "16062")
    private Long payOrderId;

    @Schema(description = "支付成功的支付渠道")
    private String payChannelCode;

    @Schema(description = "订单支付时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;

    @Schema(description = "退款订单编号", example = "24770")
    private Long payRefundId;

    @Schema(description = "退款金额，单位：分", example = "24683")
    private Integer refundPrice;

    @Schema(description = "退款时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] refundTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}